package cn.tedu.egmybatis1.mapper;

import cn.tedu.egmybatis1.pojo.entity.Eg1;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface Eg1Mapper {
    @Insert("INSERT INTO product(title , price, stock) VALUES (#{title},#{price},#{stock})")
    void insertEg1(Eg1 eg1);
}
